﻿<template>
  <baseConfigUI :config.sync="config" :events.sync="events">
    <el-row :gutter="20">
      <el-col :span="24">
        <el-form-item label = "占位内容">
            <el-input v-model = "config.other.placeholder"></el-input>
          </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="12">
        <el-form-item label = "最大值">
          <el-tooltip effect="dark" content="输入空表示无限制" placement="top-start">
            <el-input-number size="small" controls-position="right" v-model="config.other.max"></el-input-number>
          </el-tooltip>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label = "最小值">
          <el-tooltip effect="dark" content="输入空表示无限制" placement="top-start">
            <el-input-number size="small" controls-position="right" v-model="config.other.min"></el-input-number>
          </el-tooltip>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="12">
        <el-form-item label = "精度">
           <el-input-number size="small" controls-position="right" v-model="config.other.precision"></el-input-number>
        </el-form-item>
      </el-col>
       <el-col :span="12">
        <el-form-item label = "步数">
           <el-input-number size="small" controls-position="right" v-model="config.other.step"></el-input-number>
        </el-form-item>
      </el-col>
    </el-row>
  </baseConfigUI>
</template>
<script>
import baseConfigUI from '../baseConfigUI.vue'
export default {
  components: {baseConfigUI},
  props: ['config', 'events'],
  data () {
    return {
    }
  }
}
</script>
